<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>Doric Playground</title>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>

<body>
    <noscript>
        <strong>We're sorry but This doesn't work properly without JavaScript enabled. Please enable it to
            continue.</strong>
    </noscript>
    <doric-navigation id="app">
        <div onclick="document.getElementById('app').pop()"
            style="display: flex; height: 50px;padding-left: 15px;flex-flow:row;align-items: center;">
            <img src=""
                width="20px" height="20px">
            </img>
            <h2>
                点击返回
            </h2>
        </div>
        <doric-div src="../doric-demo/bundle/src/NavigatorDemo.js" alias="test">
        </doric-div>
    </doric-navigation>
    <script type="text/javascript" src="./dist/index.js"></script>
</body>
<style>
    * {
        margin: 0;
        padding: 0;
    }

    html,
    body,
    #app {
        height: 100%;
        width: 100%;
    }
</style>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
<script>
    // 初始化
    var vConsole = new VConsole();
    console.log('Hello world');
</script>
</html>